﻿<UserControl x:Class="Oxage.CNC.Views.TransformView"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:c="clr-namespace:Oxage.Windows.Controls"
  xmlns:m="clr-namespace:Oxage.CNC.Models"
  xmlns:v="clr-namespace:Oxage.CNC.Views">
  <UserControl.DataContext>
    <m:ConfigViewModel />
  </UserControl.DataContext>
  <Grid x:Name="LayoutRoot">
    <StackPanel>
      
      <Border Background="#595959" CornerRadius="3">
        <Grid Margin="4">
          <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
          </Grid.RowDefinitions>
          <TextBlock Grid.Row="0" Text="Motor" Style="{DynamicResource HeaderTextStyle}" />
          <Border Grid.Row="1" ClipToBounds="True" Margin="0,2,0,0" CornerRadius="3">
            <Border Background="#444444" CornerRadius="3">
              <Grid Margin="5">
                <StackPanel Orientation="Horizontal">
                  <TextBlock Text="Scale: " />
                  <TextBox Text="1.0, 1.0, 1.0" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                  <TextBlock Text="Translate: " />
                  <TextBox Text="0.0, 0.0, 0.0" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                  <TextBlock Text="Rotate: " />
                  <TextBox Text="0.0, 0.0, 0.0" />
                </StackPanel>
                <Button Content="Transform" Click="Transform_Click" />
              </Grid>
            </Border>
          </Border>
        </Grid>
      </Border>
      
    </StackPanel>
  </Grid>
</UserControl>
